// [9/19/2013 OMEGA] created

#ifndef _DUELASSEEDITRESOURCEOFARCHIVECMD_H_
#define _DUELASSEEDITRESOURCEOFARCHIVECMD_H_

#include <QUndoCommand>
#include "DuelAssECommon.h"
#include "DuelAssECommand.h"


class DAssEImportResourceToArchiveCmd : public DAssECommand
{
public:
	DAssEImportResourceToArchiveCmd(DAssEWorkbench* workbench, QUndoCommand* parent,
		const QString& archiveName,
		const QStringList& resNames);
	virtual ~DAssEImportResourceToArchiveCmd();

	virtual	void	redo();
	virtual	void	undo();

protected:
	DuelAssetEditor*	mParent;
	QString				mTargetArchive;
	QStringList			mResList;

};


class DAssERemoveResourceFromArchiveCmd : public DAssECommand
{
public:
	DAssERemoveResourceFromArchiveCmd(DAssEWorkbench* workbench, QUndoCommand* parent,
		const QString& archiveName,
		const QStringList& resNames);
	virtual ~DAssERemoveResourceFromArchiveCmd();

	virtual	void	redo();
	virtual	void	undo();

protected:
	DuelAssetEditor*	mParent;
	QString				mTargetArchive;
	QStringList			mResList;


};


#endif